s = "leetcode"
yuan=['a','e','i','o','u','A','E','I','O','U']
s2=[]
for i in s:
    if i in yuan:
        s2.append(i)
        s = s.replace(i, '中', 1)
print(s,s2)
for i in s2[::-1]:
    s=s.replace('中', i, 1)
print(s)

